package cn.iocoder.yudao.module.crossborder.order.controller.admin.ordershipmentitem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 跨境电商发货明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderShipmentItemRespVO {

    @Schema(description = "发货明细编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14428")
    @ExcelProperty("发货明细编号")
    private Long id;

    @Schema(description = "发货编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "13459")
    @ExcelProperty("发货编号")
    private Long shipmentId;

    @Schema(description = "发货单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("发货单号")
    private String shipmentNo;

    @Schema(description = "订单项编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "12274")
    @ExcelProperty("订单项编号")
    private Long orderItemId;

    @Schema(description = "SKU编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29248")
    @ExcelProperty("SKU编号")
    private Long skuId;

    @Schema(description = "SKU编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("SKU编码")
    private String skuCode;

    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("商品名称")
    private String productName;

    @Schema(description = "发货数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("发货数量")
    private BigDecimal quantity;

    @Schema(description = "重量（kg）")
    @ExcelProperty("重量（kg）")
    private BigDecimal weight;

    @Schema(description = "体积（立方米）")
    @ExcelProperty("体积（立方米）")
    private BigDecimal volume;

    @Schema(description = "批次号")
    @ExcelProperty("批次号")
    private String batchNo;

    @Schema(description = "序列号列表，逗号分隔")
    @ExcelProperty("序列号列表，逗号分隔")
    private String serialNos;

    @Schema(description = "库位编码")
    @ExcelProperty("库位编码")
    private String locationCode;

    @Schema(description = "包裹号")
    @ExcelProperty("包裹号")
    private String packageNo;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
